package com.guozcc.bootweb.platform.common;

public enum TradeErrorCode {
    TRADE_SUCCESS("00000","SUCCESS"),
    TRADE_SYSERROR("99999","未知异常"),
    TRADE_LOGINFAIL("99998","登录失败"),
    TRADE_LOGIN_CHECK_FAIL("99997","登录校验失败"),
    TRADE_DATA_ERROR_FAIL("99996","数据校验异常")
    ;

    private String errcode;
    private String errmsg;
    private TradeErrorCode(String errcode,String errmsg){
        this.errcode = errcode;
        this.errmsg = errmsg;
    }
    public String getErrcode() {
        return errcode;
    }
    public String getErrmsg() {
        return errmsg;
    }
}
